projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af9fba
)
* image.c (pbm_load): Set to NO_PIXMAP on error.
author
Jan Djärv
<jan.h.d@swipnet.se>
Wed, 12 Feb 2014 07:50:24 +0000
(08:50 +0100)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Wed, 12 Feb 2014 07:50:24 +0000
(08:50 +0100)
Fixes: debbugs:16683
src/ChangeLog
patch
|
blob
|
history
src/image.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 6ba2a935b51492f8dd44082de6939eed8ff1615e..bd498c59f1a1f16885576f964dd03de161888e57 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2014-02-12 Marcus Karlsson <mk@acc.umu.se> (tiny change)
+
+ * image.c (pbm_load): Set to NO_PIXMAP on error (Bug#16683).
+
2014-02-12 Lars Ingebrigtsen <larsi@gnus.org>
* buffer.c (syms_of_buffer): Doc clarification (bug#9981).
diff --git
a/src/image.c
b/src/image.c
index 706745fb479c1ea93fd872aa243871f82026605f..e53ad0b4a30a19b89be2d36bf41e5b164cd161cf 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-5215,6
+5215,7
@@
pbm_load (struct frame *f, struct image *img)
image_error ("Not a PBM image: `%s'", img->spec, Qnil);
error:
xfree (contents);
+ img->pixmap = NO_PIXMAP;
return 0;
}